package com.xtck.ha.common.domain.system.api.object;

import com.xtck.ha.common.core.annotation.Excel;
import com.xtck.ha.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 参数对象 TBL_TM_PARAM
 * 
 * @author rqc
 * @date 2024-10-11
 */
@ApiModel(description = "参数")
public class TblTmParam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("唯一标识")
    private Long paramId;

    @ApiModelProperty("卫星编号")
    @Excel(name = "卫星编号")
    private String satCode;

    @ApiModelProperty("名称")
    @Excel(name = "名称")
    private String name;

    @ApiModelProperty("编号")
    @Excel(name = "编号")
    private String code;

    @ApiModelProperty("类型")
    @Excel(name = "类型")
    private String type;

    @ApiModelProperty("模式")
    @Excel(name = "模式")
    private String mode;

    @ApiModelProperty("序号")
    private Long paramSequence;

    @ApiModelProperty("正常范围或正常值")
    @Excel(name = "正常范围或正常值")
    private String rangeValue;

    @ApiModelProperty("位置信息")
    @Excel(name = "位置信息")
    private String locationInfo;

    @ApiModelProperty("采集设备ID")
    private Long collectionDeviceId;

    @ApiModelProperty("相关设备ID")
    @Excel(name = "相关设备ID")
    private Long relatedDeviceId;

    @ApiModelProperty("删除标志（0代表存在 2代表删除）")
    private String delFlag;

    public void setParamId(Long paramId) 
    {
        this.paramId = paramId;
    }

    public Long getParamId() 
    {
        return paramId;
    }
    public void setSatCode(String satCode) 
    {
        this.satCode = satCode;
    }

    public String getSatCode() 
    {
        return satCode;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setMode(String mode) 
    {
        this.mode = mode;
    }

    public String getMode() 
    {
        return mode;
    }
    public void setParamSequence(Long paramSequence) 
    {
        this.paramSequence = paramSequence;
    }

    public Long getParamSequence() 
    {
        return paramSequence;
    }
    public void setRangeValue(String rangeValue)
    {
        this.rangeValue = rangeValue;
    }

    public String getRangeValue()
    {
        return rangeValue;
    }
    public void setLocationInfo(String locationInfo) 
    {
        this.locationInfo = locationInfo;
    }

    public String getLocationInfo() 
    {
        return locationInfo;
    }
    public void setCollectionDeviceId(Long collectionDeviceId) 
    {
        this.collectionDeviceId = collectionDeviceId;
    }

    public Long getCollectionDeviceId() 
    {
        return collectionDeviceId;
    }
    public void setRelatedDeviceId(Long relatedDeviceId) 
    {
        this.relatedDeviceId = relatedDeviceId;
    }

    public Long getRelatedDeviceId() 
    {
        return relatedDeviceId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("paramId", getParamId())
            .append("satCode", getSatCode())
            .append("name", getName())
            .append("code", getCode())
            .append("type", getType())
            .append("mode", getMode())
            .append("paramSequence", getParamSequence())
            .append("rangeValue", getRangeValue())
            .append("locationInfo", getLocationInfo())
            .append("collectionDeviceId", getCollectionDeviceId())
            .append("relatedDeviceId", getRelatedDeviceId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
